package com.link.base.base.sms.service;

import com.link.base.base.sms.dao.mybatis.mapper.AccntConditionMapper;
import com.link.base.base.sms.model.AccntCondition;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: liulu
 * @Date:15:37 2018/11/5
 */
@Service
public class AccntConditionServiceImpl extends BasicServiceImpl<AccntCondition> implements AccntConditionService {

    @Resource
    private AccntConditionMapper accntConditionMapper;

    @Override
    public BasicMapper<AccntCondition> getBasicMapper() {
        return accntConditionMapper;
    }

    @Override
    public List<AccntCondition> queryByGroupingId(Long groupingId) {
        return accntConditionMapper.queryByGroupingId(groupingId);
    }
}
